package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcEverydayDisinfectionRecord;
import com.csun.cmny.provider.model.dto.disinfectionPosition.EverydayDisinfectionRecordSaveDto;
import com.csun.cmny.provider.model.dto.disinfectionPosition.EverydayDisinfectionRecordSelectDto;
import com.csun.cmny.provider.model.dto.disinfectionPosition.EverydayDisinfectionRecordUpdateDto;
import com.csun.cmny.provider.model.vo.disinfectionPosition.EverydayDisinfectionRecordVo;
import com.csun.cmny.provider.model.vo.disinfectionPosition.HuaLongEveryDsftRecordVo;

import java.util.List;

public interface OmcEverydayDisinfectionRecordService extends IService<OmcEverydayDisinfectionRecord> {

    int addEverydayDisinfectionRecord(EverydayDisinfectionRecordSaveDto everydayDisinfectionRecordSaveDto, LoginAuthDto loginAuthDto);


    List<EverydayDisinfectionRecordVo> selectEverydayDisinfectionRecord(EverydayDisinfectionRecordSelectDto everydayDisinfectionRecordSelectDto);

    int updateEverydayDisinfectionRecord(EverydayDisinfectionRecordUpdateDto everydayDisinfectionRecordUpdateDto);

    /**
     * 根据楼栋号和年月查询日常消毒记录
     *
     * @param buildingNo    the building no
     * @param month         the month  (yyyy-MM)
     *
     * @return  the list.
     */
    List<HuaLongEveryDsftRecordVo> queryBuildingNoAndMonth(String buildingNo, String month);
}
